In today's installment of "why not to program in C++," I give you the following quiz, which Dustin, Steve, Tom, and I had to figure out today (Dustin's code was doing the weirdest things, and we eventually traced it down to this):
Suppose you start out with the following code:class Argument;
Argument x;
void Foo(const Argument& arg);
bool test;
You
(
Read more... )